package myandroid.net.DTO;

import java.sql.Date;

public class DTO_TimeTable {
	private String gTimeTableID;
	private String gTimeTableName;
	private String gTimeTableDescription;
	private String gTimeTableAvatar;
	private Date gTimeTableStartApply;
	private Date gTimeTableEndApply;
	
	public DTO_TimeTable() {
		this.gTimeTableID = null;
		this.gTimeTableName = null;
		this.gTimeTableDescription = null;
		this.gTimeTableAvatar = null;
		this.gTimeTableStartApply = null;
		this.gTimeTableEndApply = null;
	}
	
	public DTO_TimeTable(String mTimeTableID, String mTimeTableName,
			String mTimeTableDescription, String mTimeTableAvatar,
			Date mTimeTableStartApply, Date mTimeTableEndApply) {
		
		this.gTimeTableID = mTimeTableID;
		this.gTimeTableName = mTimeTableName;
		this.gTimeTableDescription = mTimeTableDescription;
		this.gTimeTableAvatar = mTimeTableAvatar;
		this.gTimeTableStartApply = mTimeTableStartApply;
		this.gTimeTableEndApply = mTimeTableEndApply;	
	}
	
	public String getgTimeTableID() {
		return gTimeTableID;
	}
	public void setgTimeTableID(String gTimeTableID) {
		this.gTimeTableID = gTimeTableID;
	}
	public String getgTimeTableName() {
		return gTimeTableName;
	}
	public void setgTimeTableName(String gTimeTableName) {
		this.gTimeTableName = gTimeTableName;
	}
	public String getgTimeTableDescription() {
		return gTimeTableDescription;
	}
	public void setgTimeTableDescription(String gTimeTableDescription) {
		this.gTimeTableDescription = gTimeTableDescription;
	}
	public String getgTimeTableAvatar() {
		return gTimeTableAvatar;
	}
	public void setgTimeTableAvatar(String gTimeTableAvatar) {
		this.gTimeTableAvatar = gTimeTableAvatar;
	}
	public Date getgTimeTableStartApply() {
		return gTimeTableStartApply;
	}
	public void setgTimeTableStartApply(Date gTimeTableStartApply) {
		this.gTimeTableStartApply = gTimeTableStartApply;
	}
	public Date getgTimeTableEndApply() {
		return gTimeTableEndApply;
	}
	public void setgTimeTableEndApply(Date gTimeTableEndApply) {
		this.gTimeTableEndApply = gTimeTableEndApply;
	}

	@Override
	public String toString() {
		String str = gTimeTableID.toString().trim() + "\t|";
		str += gTimeTableName.toString().trim() + "\t|";
		str += gTimeTableDescription.toString().trim() + "\t|";
		str += gTimeTableAvatar.toString().trim() + "\t|";
		str += gTimeTableStartApply.toString().trim() + "\t|";
		str += gTimeTableEndApply.toString().trim() + "\t|";
		return str;
	}
	
	
}
